home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
026-050
/
scopedisk46
/
med24
/
med.doc
< prev
next >
Wrap
Text File
|
1995-03-18
|
7KB
|
256 lines
DOCUMEMENTATION FOR THE VERSION 2.1 OF TEXT EDITOR MED
======================================================
Med is a text editor that I write specially for the Amiga. I wanted to use
the features of the Amiga with a view to make a programm user-friendly
So my program works with the mouse and the menus. You can edit 36 texts
simultaneously. In this documentation I will try to explain some of the
more specials features of Med.
I ask you to be indulgent with my english which is very poor.
Use of the Mouse:
=================
Move the cursor.
Move the lift.
Select text:
You push down the left button of the mouse and you move it. The
select text is highlighted.
You can use an 'extended-select' mode
1. Push down the left mouse button.
2. Press the Escape key.
3. Stop push down the left mouse button.
4. Use the lift (some more times that you need).
5. Click in the window. The visible select text is highlighted.
5. You can return in 2.
The mouse is also use for all the usual Amiga interface.
The menus:
==========
They are 28. ONLY THE MENUS WHICH DON'T HAVE AN IMMEDIATE MEANING ARE
DESCRIBED.
Menu File/Quit:
Med asks you if you are really sure that you don't want save the file
you have modified. It gives you the names of this files.
Menu Edition/Special/Path:
You can give a string which will be put in front of all the filename
It 's very useful if you want use a directory which is not the current
directory and you don't always give the path to acceed to this directory.
Menu Edition/Special/Execute:
You can execute a CLI command as like from the CLI. Med is stopped since
this command runs.
Menu Edition/Special/NewCli:
You can create a new CLI.
Menu Edition/Special/Script:
You can use it for loading with an unique command several files.
When you select a request appear and ask you a filename.
This file will be use as a decript file.
All the lines of this file will be seen by Med as a description of a file
to load.
The syntax you must use is:
filename size comment
filename the file med must load. If there a path it is used.
size the buffer size that Med must used. (optionnal)
comment for the user can be empty.
Between the fields you must put one or more than one space.
The lines which begin by an * are comment.
example of a script file
C-DEVEL:one.window.c 20
C-DEVEL:essai.c 10000
* this a comment
C-DEVEL:toto.c 1
tob.asm 20000
You can use this option directly from the command line with the
syntax :
Med -sfile
file must be a script file.
Menu Edition/Special/Save Table
Menu Edition/Special/Load Table
This 2 menus deal with the conversion table that Med use when it loads
file. All the character it reads are changed using this table.
Generaly the character are changed in themself.
The default table is the identity.
The menu Load Table can be use to change it. If you select it a
requester appear asking you a filename. In this file you must put lines
of this type:
iv fv comment
iv initial value of the character in hexadecimal
fv final value of the character in hexadecimal
comment field reserved to the user.
These fields must be separed by one (or more) space.
If one value vi appear several times the last value is used.
If any value doesn't appear it keeps the value it has before.
The lines which begin by an * are comment.
The menu 'Save Table' can be use to create a file which is the map
of the conversion table uses and it has the same format.
This option is designed to be use for the work on file coming from
an another machine.
Example of a table file:
0 20 0 are changed in space.
D A ^M becames ^J
* comment
41 42 A --> B (!!!).
Edition/Special/Without Spaces:
It defines a parameter for the write of the file on the disk
When the name of menu is 'Without Space' all the spaces which lies at
the end of the lines are not written.
When the name is 'With Space' they are.
The default mode is 'Without Space'
Window/Open
Open a new window.
It 's possible only if there are more text loaded that there are window
opened.
Window/Close
Close the active window.
It doesn't work if it is the only open window.
Window/Info
Give the number of open window.
Text/....
It presents all the files which are edited.
You can use 36 texts simultaneously.
The name of the file which are changed appear in a box when you put the
mouse on them the others are highlighted.
The soft keys.
=============
F1
The cursor go to the end of the line. If it is in this position it goes
to beginning of the line.
F2
Create a new line under this of the cursor.
F3
It 's a parenthesis and accolade verificator. You put the cursor on a
parenthesis or on an accolade and the cursor goes to the matching element
if it exists. In the other case, the screen make a 'beep'.
F4
F5
Move the text by a screen unit.
F6
Repeat command which are among the menus. This command are Find,Replace,
Go to Line,Copy in a File.
F7
Give back the last part of the text which was deleted by a cut or by F10
F8
Switch upper-case and lower-case letters.
F9
Put the cursor on the next tabulation.
F10
Delete the line under the cursor.
The control keys:
================
They are the same that a part of the soft keys:
^a == F2
^b == F10
^f == F8
Move in the text:
=================
You can use the arrow keys.
Tab pushs the cursor and the text after it.
Shift Tab does the same thing without pushing the text at the end of
the line.
Some Specifities:
=================
When you select text with the mouse, your next action specify the use
of this text.
If Med can't have the memory that it needs, it shows a requester or it
does a screen beep.
There are no limitation on the length of the lines so you always can put
some character on the lines but they are insered at the place of the
cursor.
Med never accepts not visible chararcter.
The end of line is LineFeed (it is usual for the Amiga).
The tabulation characters are always changed in spaces.
When you load or you save a file Med doesn't do any back-up. It save
place on the disks and the user generally makes their own back-up on
another disk.
The command line:
=================
med [file [size]]
file file which must be load by med.
size buffer size that you instruct med to create for it.
You can give it in bytes or in kilo-bytes.
med -sfile
You use it to load several file with only one command (see the ex-
planation above).
I give my thanks to Francois Rouaix who helps me to write this text in
english and to test the editor and to Gerald Hewes who always push me to
define more useful command.
Paris the 01/27/87
Regis Vaillant.